Skip to main content

All Questions

1vote
1answer
285views

Formulate systemd .link file as plain udev rule or rename network interface without mac address

Due to hardware reasons, we have to rename our network interfaces. Because we have to do that on all our boards, for which we do not know the mac address, we have to do it using the id-path or driver. ...
cone1018's user avatar
1vote
1answer
142views

How to reset status of a network adapter before assigning the name in a udev ruleset?

Part 4 of the problem with the usb3 nic interfaces after debian 6.1.0-20 kernel update. See the other posts here: Debian 12 - All of sudden my USB3 Lan adapter get assigned random mac address each ...
user3450548's user avatar
0votes
1answer
135views

Use usb path of an usb nic address in udev rules in order to assign an interface name instead of mac address

Related to: Debian 12 - All of sudden my USB3 Lan adapter get assigned random mac address each reboot Use parrent attribute "serial" in UDEV configuration to assign lan interface another ...
user3450548's user avatar
1vote
1answer
175views

Use parrent attribute "serial" in UDEV configuration to assign lan interface another name instead of relying on the mac address

Given this kernel problem awaiting to be fixed and that randomly assign mac address to this usb3 lan adapters: Debian 12 - All of sudden my USB3 Lan adapter get assigned random mac address each reboot ...
user3450548's user avatar
1vote
1answer
389views

50-udev-default.rules: Unknown builtin command: net_driver, lost internet connection

I'm running an Arch-based distro, and after doing a substantial update lost my internet connection (both wifi and ethernet). I'm able to roll back all of the changes and get it back, but would ...
The Renaissance's user avatar
1vote
0answers
89views

udev: renaming nic name may occur even after multi-user.target begin?

I am investigating a Linux server(CentOS7.9 kernel 5.4.179-1.el7.elrepo.x86_64) for a weird issue: There is a pretty normal service: # /etc/systemd/system/test.service [Unit] Description=tet Before=...
osexp2000's user avatar
1vote
0answers
198views

Get name of newly added interface in udev/rules to pass it as a parameter to a shell script

I use usb mode_switch to plug in a device which then is initialized as a lte internet stick with an interface with a MAC address. Once the stick is plugged in I want to call a shell script which does ...
Jurudocs's user avatar
0votes
2answers
1kviews

Is there a way to find the original network interface name of a udev-renamed interface?

When I run ip addr show, this will show an interface being named enp3s0f0 or similar. This name is assigned by udev. This happens after mounting the / drive. Thus it happens after luks file encryption....
aphid's user avatar
0votes
0answers
224views

Debian name wifi interfaces according to their drivers using udev persistent-net.rules?

Hi I am working on Debian. Would like to name my wifi interfaces according to their driver modifying /etc/udev/rules.d/90-persistent-net.rules with: SUBSYSTEM=="net", ACTION=="add&...
pippo1980's user avatar
0votes
0answers
2kviews

How to redo renaming interfaces with 70-persistent-net.rules?

I use Ubuntu 18.04 and renamed the interfaces and want to redo this renaming. I don't want to use the 70-persistent-net.rules for the back renaming. I delete the content and removed the file with ...
ikreb's user avatar
0votes
1answer
2kviews

Changing MAC address in udev and KERNEL=="eth*"

I have a server with ubuntu on it and everything work fine.All network interfaces are working. I decide to move the drive to a new server and it boots to the OS without issue. The network interfaces ...
Symbux's user avatar
0votes
1answer
2kviews

How to fix the conflict in the naming scheme for network interfaces use by Predictable Names scheme?

I have a fresh install of Debian 10 (Buster) and there is an issue with the Predictable Name scheme. I have 4 onboard NICs and a 4 Port PCIe NIC. The naming convention works for the onboard port, but ...
AJ Smith 'Smugger''s user avatar
0votes
1answer
3kviews

udev rule to give user full access to network interface can0

I am trying to give permission to a user to perform the same operations as root on the network device can0, such as bringing it up or down. My first idea was to set the group and/or owner of the ...
Naju's user avatar
  • 111
4votes
1answer
10kviews

how to allow non root user to create tun devices

I am developing a program which requires opening /dev/net/tun and issuing ioctl() on it but without root user I get permission denied. I think proper udev rules can help solve this issue. I tried ...
Sigma's user avatar
1vote
1answer
509views

script that runs when an interface appears (not neecssarily goes up)

I have an usb network interface, that appears when I insert an usb key, or sometimes, the usb key is already inserted when I boot my raspberry pi. The usual solution to this problem is to add an udev ...
user1095108's user avatar

153050per page
close